package com.example.algorithm.datastructure;

import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class ListNode {

    private int val;
    private ListNode next;

    public ListNode(int x) {
        val = x;
    }
}

